﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IDf_Costmod_ParaBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IDf_Costmod_Para;

        void Remove(IDf_Costmod_Para entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IDf_Costmod_Para;

        /// <summary>
        /// 获取资金模型参数信息类
        /// </summary>
        /// <param name="anniname">资金模型名称</param>
        /// <returns></returns>
        IDf_Costmod_Para GetCostmod_Para(string anniname);

        /// <summary>
        /// 获取资金模型名称
        /// </summary>
        /// <param name="annutype">分析类型</param>
        /// <returns></returns>
        List<string> GetAnniName(string annutype);

        /// <summary>
        /// 获取资金模型名称下所有分析年度
        /// </summary>
        /// <param name="anni_name"></param>
        /// <returns></returns>
        List<string> GetAnaly_Year(string anni_name);
    }
}
